import numpy as np

phone_flags = [list(map(int, line.strip().split()[-1][-4:])) for line in open("../data/hash_search/data.txt", "r", encoding="gbk")]

phone_flags = np.array(phone_flags).T  

vars = np.var(phone_flags, axis=1)

print(vars)